﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using System.Threading.Tasks;
using WindowsForms.AOnline.View.Dictionary;

namespace WindowsForms.AOnline.Presenter.Dictionary.EmployTest
{
    public class EmployTestsPresenter : Presenter<IEmployTestsView> 
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="CurrenciesPresenter" /> class.
        /// </summary>
        /// <param name="view">The view.</param>
        public EmployTestsPresenter(IEmployTestsView view) 
            : base(view)
        {
        }

        /// <summary>
        /// Displays this instance.
        /// </summary>
        public void Display(int page)
        {
            View.EmployTests = Model.GetEmployTests(page);
        }

        public int GetPageSize()
        {
            return Model.GetPageSizeEmployTests();
        }
    }
}
